Skip to main content

sharedHilite

Type

property

Summary

Specifies whether a grouped button's hilite property is the same on all cards with that group.

Syntax

set the sharedHilite of <button> to {true | false}

Description

Use the sharedHilite property to cause a button (such as a radio button or checkbox) to display the same state wherever it is shown.

If a button's sharedHilite property is set to true, the hilite property of that button is the same on all cards where the button appears. Highlighting the button on one card highlights it on all of them. If the button's sharedHilite is false, it can have a different hilite property on each card where it appears, and highlighting a button highlights it only on the current card.

Set the sharedHilite property to false for radio button|radio buttons and checkboxes (and for other buttons whose hilite is retained to display a setting or a state) if the state the button displays is different for each card.

Examples

set the sharedHilite of button "Option 1" to false

object: card, button

property: sharedText

command: hilite, group

glossary: property, grouped control, current card, highlight, radio button, checkbox

keyword: card, button

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?